package com.web44.spring.service.impl;

import com.web44.spring.mapper.UserMapper;
import com.web44.spring.mapper.impl.UserMapperImpl;
import com.web44.spring.service.UserService;

/**
 * @Title: UserServiceImpl
 * @Description:
 * @Auther: py
 * @Version: 1.0
 * @create 2024/1/9 9:05
 */
public class UserServiceImpl implements UserService {

    // 注入UserMapper
    private UserMapper userMapper;

    public void setUserMapper(UserMapper userMapper) {
        this.userMapper = userMapper;
    }

    @Override
    public void queryUserService() {
        System.out.println("用户处理业务逻辑.....");
        userMapper.queryUserDao();
    }
}
